IMap.HasKey Method

Determines whether the map contains the specified key.

Syntax

public:
bool HasKey(
         K key
)  

Parameters

key
Type: K 

The key associated with the item to locate.

Return value

Type: bool 

  True if the key is found; otherwise, false.

Requirements

Namespace: Windows.Foundation.Collections

Metadata: windows.winmd

See also

Reference

IMap Generic Interface

IMap Members

Windows.Foundation.Collections Namespace